package org.example.chatroom.common.exception;

import lombok.Data;

/**
 * Created with IntelliJ IDEA.
 * Description:
 * User: LIUYANJIAO
 * Date: 2025-06-21
 * Time: 15:05
 */
@Data
public class ChatroomException extends RuntimeException{
    private Integer code;
    private String err;

    public ChatroomException(Integer code, String err) {
        this.code = code;
        this.err = err;
    }
}
